﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SignUp.aspx.cs" Inherits="SignUp" MasterPageFile="~/MasterPage.master"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">               
    <br />
  
<table cellpadding="1" 	cellspacing="0" align="left" bgcolor="White"  width="1120"  valign="top">
<tr><td class="letracuadroscolores" colspan="2"  height="35px" valign="top" 
                bgcolor="#FA7E02"> <div align="center">Sign Up </div></td> </tr>
<tr>
        <td valign="top">
        <table class="style3"  >
               <tr><td width="10" height="22"></td><td height="22" class="style3"></td><td width="375" height="22"></td></tr>
               <tr><td class="letrabold" colspan="3" rowspan="1" bgcolor="#FA7E02" align="left" height="20">               
               Contact Info</td>
               </tr>     
               <tr><td ></td><td class="style10"></td><td></td></tr> 
               <tr>
               <td width="10"></td><td  valign="top" class="style10"  >User</td>
               <td align="left"> 
                   <asp:TextBox ID="user" runat="server" Width="200px" CssClass="txtForm" 
                     TabIndex="1" MaxLength="18"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" Width="75px"
                       ControlToValidate="user" CssClass="letraRojaValidacion" 
                     AccessKeyErrorMessage="Required Field" ErrorMessage="Required field"></asp:RequiredFieldValidator></td>                                
               
               </tr>
               <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="Group"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="cbperfil" runat="server" CssClass="txtForm" 
                            Height="23px" Width="200px">
                            <asp:ListItem Value="0">Please Select</asp:ListItem>
                            <asp:ListItem Value="1">Client</asp:ListItem>
                            <asp:ListItem Value="5">Vendor</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="Label2" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                    </td>
               </tr> 
               <tr>
               <td  valign="top" ></td><td valign="top" class="style10">Password</td>
               <td  align="left" > <asp:TextBox ID="pass" runat="server" TextMode="Password" Width="200px"  
               TabIndex="2" CssClass="txtForm"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"  ControlToValidate="pass" CssClass="letraRojaValidacion" 
                    ErrorMessage="Required Field"></asp:RequiredFieldValidator>    </td>
               </tr> 
               <tr>
               <td  valign="top">&nbsp;</td><td valign="top" class="style10">Retype password</td>
               <td align="left"> <asp:TextBox ID="repass" runat="server" TextMode="Password" Width="200px" 
               TabIndex="3" CssClass="txtForm" 
                       ToolTip="Please retype exactly the same password that you typed in the previous field." ></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidatorRepass" runat="server"  ControlToValidate="repass" CssClass="letraRojaValidacion" 
               ErrorMessage="Required Field"></asp:RequiredFieldValidator>    
                   <asp:CompareValidator ID="CompareValidator3" runat="server" 
                       ControlToCompare="pass" ControlToValidate="repass" 
                       CssClass="letraRojaValidacion" ErrorMessage="Invalid password"></asp:CompareValidator>
                   </td>
               </tr >
               <tr >
               <td class="style4" colspan="3" bgcolor="#FA7E02" align="left" >Profile</td>
               </tr>  
               <tr><td></td><td ></td><td></td></tr>  
               <tr>
               <td valign="top" ></td><td class="style10">First Name</td>
               <td style="text-align: left" >
               <asp:TextBox ID="firstname" runat="server" Width="200px" TabIndex="4"  
                CssClass="txtForm"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"  ControlToValidate="firstname" CssClass="letraRojaValidacion" 
               ErrorMessage="Required Field"></asp:RequiredFieldValidator>    </td>              
               </tr>
               <tr><td valign="top"></td><td class="style10">Last Name</td>
               <td style="text-align:left" >
               <asp:TextBox ID="lastname" runat="server" Width="200px" TabIndex="5"  
               CssClass="txtForm"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  ControlToValidate="lastname" CssClass="letraRojaValidacion" 
               ErrorMessage="Required Field"></asp:RequiredFieldValidator>    </td>               
               </tr>
               <tr><td></td><td valign="top" class="style10">Email</td>
               <td style="text-align: left" >
               <asp:TextBox ID="email" runat="server" Width="200px" TabIndex="6" 
                CssClass="txtForm"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server"  ControlToValidate="email" CssClass="letraRojaValidacion" 
                ErrorMessage="Required Field"></asp:RequiredFieldValidator>
                   <asp:RegularExpressionValidator id="emailValidator" runat="server" 
                       Display="Dynamic" ErrorMessage="Invalid Email" 
                ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$" 
                ControlToValidate="email" Font-Italic="True" Font-Names="Arial Narrow" 
                Font-Size="Small" CssClass="letraRojaValidacion"></asp:RegularExpressionValidator></td>
               
               </tr>
               <tr><td ></td><td class="style10">Company Name</td>
               <td style="text-align: left" >
               <asp:TextBox ID="compname" runat="server" Width="200px" CssClass="txtForm" 
                TabIndex="7"></asp:TextBox><br /></td></tr>
                <tr><td ></td><td class="style10">Title</td>
               <td style="text-align: left" >
               <asp:TextBox ID="title" runat="server" Width="200px" CssClass="txtForm" 
                TabIndex="8"></asp:TextBox><br />    </td>          
              </tr> 
             <tr>
               <td ></td><td class="style10" >Address1</td><td style="text-align: left" >
               <asp:TextBox ID="paddress1" runat="server" Width="200px" CssClass="txtForm" 
                TabIndex="9" MaxLength="48"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="paddress1" CssClass="letraRojaValidacion" 
                ErrorMessage="Required Field"></asp:RequiredFieldValidator>            
               </td>   
               
             </tr>     
             <tr><td></td><td class="style10">Address2</td><td style="text-align: left" > 
                 <asp:TextBox ID="paddress2" runat="server" Width="200px" CssClass="txtForm" 
                  TabIndex="10" MaxLength="48"></asp:TextBox></td>               
             </tr>

             <tr><td ></td><td class="style10" >City</td>
                 <td style="text-align: left">
                 <asp:TextBox ID="pcity" runat="server" Width="200px" CssClass="txtForm" 
                  TabIndex="11" MaxLength="28"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="pcity" CssClass="letraRojaValidacion" 
                  ErrorMessage="Required Field"></asp:RequiredFieldValidator>    </td>
               
             </tr>
             <tr><td ></td><td class="style10" >State</td><td id="cbPstate" >
             <asp:DropDownList ID="cbPState" runat="server"  CssClass="txtForm" Height="23px"
                  Width="200px" TabIndex="12">  
       <asp:ListItem>Please Select</asp:ListItem>
       <asp:ListItem>Alabama</asp:ListItem>
       <asp:ListItem>Alaska</asp:ListItem>
       <asp:ListItem>Arizona</asp:ListItem>
       <asp:ListItem>Arkansas</asp:ListItem>
       <asp:ListItem>California</asp:ListItem>
       <asp:ListItem>Colorado</asp:ListItem>
       <asp:ListItem>Connecticut</asp:ListItem>
       <asp:ListItem>Delaware</asp:ListItem>
       <asp:ListItem>Florida</asp:ListItem>
       <asp:ListItem>Georgia</asp:ListItem>
       <asp:ListItem>Hawai</asp:ListItem>
       <asp:ListItem>Idaho</asp:ListItem>
       <asp:ListItem>Illinois</asp:ListItem>
       <asp:ListItem>Indiana</asp:ListItem>
       <asp:ListItem>Iowa</asp:ListItem>
       <asp:ListItem>Kansas</asp:ListItem>
       <asp:ListItem>Kentucky</asp:ListItem>
       <asp:ListItem>Louisiana</asp:ListItem>
       <asp:ListItem>Maine</asp:ListItem>
       <asp:ListItem>Maryland</asp:ListItem>
       <asp:ListItem>Massachusetts</asp:ListItem>
       <asp:ListItem>Minnesota</asp:ListItem>
       <asp:ListItem>Mississipi</asp:ListItem>
       <asp:ListItem>Missouri</asp:ListItem>
       <asp:ListItem>Montana</asp:ListItem>
       <asp:ListItem>Michigan</asp:ListItem>
       <asp:ListItem>Nebraska</asp:ListItem>
       <asp:ListItem>Nevada</asp:ListItem>
       <asp:ListItem>New Jersey</asp:ListItem>
       <asp:ListItem>New York</asp:ListItem>
       <asp:ListItem>New Hampshire</asp:ListItem>
       <asp:ListItem>New Mexico</asp:ListItem>
       <asp:ListItem>North Carolina</asp:ListItem>
       <asp:ListItem>North Dakota</asp:ListItem>
       <asp:ListItem>Ohio</asp:ListItem>
       <asp:ListItem>Oklahoma</asp:ListItem>
       <asp:ListItem>Oregon</asp:ListItem>
       <asp:ListItem>Pennsylvania</asp:ListItem>
       <asp:ListItem>Rhode Island</asp:ListItem>
       <asp:ListItem>South Carolina</asp:ListItem>
       <asp:ListItem>South Dakota</asp:ListItem>
       <asp:ListItem>Tennessee</asp:ListItem>
       <asp:ListItem>Texas</asp:ListItem>
       <asp:ListItem>Utah</asp:ListItem>
       <asp:ListItem>Vermont</asp:ListItem>
       <asp:ListItem>Virginia</asp:ListItem>
       <asp:ListItem>West Virginia</asp:ListItem>
       <asp:ListItem>Washington</asp:ListItem>
       <asp:ListItem>Wisconsin</asp:ListItem>
       <asp:ListItem>Wyoming</asp:ListItem></asp:DropDownList>
                 <asp:CompareValidator ID="CompareValidator1" runat="server" 
                     ControlToValidate="cbPState" CssClass="letraRojaValidacion" 
                     ErrorMessage="Required field" Operator="NotEqual" 
                     ValueToCompare="Please Select"></asp:CompareValidator>
                 <br /></td>
       </tr>
      <tr>
      <td ></td><td class="style10" >Zip</td>
      <td style="text-align: left" >
        <asp:TextBox ID="pzip" runat="server" Width="200px" CssClass="txtForm" 
            MaxLength="5" TabIndex="13"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" 
             ControlToValidate="pzip" CssClass="letraRojaValidacion"  ErrorMessage="Required Field"></asp:RequiredFieldValidator>
          <asp:RegularExpressionValidator ID="RegularExpressionValidator5" 
            runat="server" ControlToValidate="pzip" ErrorMessage="Invalid zip code" 
            ToolTip="Please enter a 5 digit zip code." 
            ValidationExpression="\d{5}(-\d{4})?" CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>
      </td>      
      </tr>
      <tr>
      <td ></td>
      <td class="style10">Office Phone</td> <td style="text-align: left" > 
         <asp:TextBox ID="officephone" runat="server" 
                                    CssClass="txtForm" Width="200px" 
          MaxLength="10" TabIndex="14" 
          ontextchanged="office1_TextChanged" 
          ToolTip="Please type only 10 digits phone number"></asp:TextBox>
          
          <asp:MaskedEditExtender ID="MaskedEditExtender2" runat="server" TargetControlID="officephone"
           Mask="(999)999-9999" ClearMaskOnLostFocus="False">     </asp:MaskedEditExtender>
          <asp:CompareValidator ID="CompareValidator4" runat="server" align="left"
              ControlToValidate="officephone" ErrorMessage="Required Field" 
              Operator="NotEqual" ValueToCompare="(___)___-____" 
              CssClass="letraRojaValidacion"></asp:CompareValidator>          
          <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                                    ControlToValidate="officephone" align="left"
                                    ErrorMessage="Invalid phone"                                     
            ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}|((\(___\) ?)|(___-))?___-____" 
              CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>   


      </td>
 
      </tr>
      <tr>
          <td ></td><td class="style10">Cell Phone
          </td><td style="text-align: left" >
          <asp:TextBox ID="cellphone" runat="server" 
            Width="200px" CssClass="txtForm" MaxLength="10" TabIndex="15" ontextchanged="cellphone_textchanged" 
            ToolTip="Please type only 10 digits phone number" ></asp:TextBox>
          &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator7" 
            runat="server" ControlToValidate="cellphone" 
            ErrorMessage="Invalid phone" 
            ToolTip="Please enter a valid phone number" 
            ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}|((\(___\) ?)|(___-))?___-____" 
                  CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>
          <asp:MaskedEditExtender ID="MaskedEditExtender3" runat="server" TargetControlID="cellphone"
           Mask="(999)999-9999" ClearMaskOnLostFocus="False" > </asp:MaskedEditExtender>

          </td>
       </tr>  
       
       <tr>
          <td  ></td>
          <td class="style10" >Fax</td><td style="text-align: left; "      >               
            <asp:TextBox ID="Fax" runat="server" Width="200px" CssClass="txtForm" 
             MaxLength="10" TabIndex="16" 
             ontextchanged="faxphone_textchanged" 
             ToolTip="Please type only 10 digits phone number"></asp:TextBox>
            &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
             ControlToValidate="Fax" 
             ErrorMessage="Invalid fax" 
             ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}|((\(___\) ?)|(___-))?___-____" 
                CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>
            <asp:MaskedEditExtender ID="MaskedEditExtender4" runat="server" TargetControlID="Fax"
                 Mask="(999)999-9999" ClearMaskOnLostFocus="False" > </asp:MaskedEditExtender>

           </td>
           
           
        </tr>
        <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
        <tr><td ></td><td style="text-align: right" colspan="2" >&nbsp;</td>
        </tr>        
        <tr><td></td><td colspan="2"><asp:ToolkitScriptManager ID="ToolkitScriptManager1"  runat="server"></asp:ToolkitScriptManager></td></tr>              
        <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
        <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
        <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
        <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>   
       </table>
        </td>
        <td valign="top">
       <table class="style3" >
                <tr><td width="10" height="20"></td><td height="20" class="style11" ></td><td width="375" height="20"></td></tr>
                <tr><td ></td><td colspan="2" bgcolor="#FA7E02" class="letrabold" align="left" rowspan="1" height="20">  
                    Billing Info  </tr>
                <tr>
                <td class="style11"></td><td>  <asp:CheckBox ID="CheckBox4" runat="server" AutoPostBack="True" 
                                   CssClass="letraAzul" Height="20px" oncheckedchanged="CheckBox4_CheckedChanged" 
                                   Text="Use the same address of the profile" Width="200px" TabIndex="17" />     </td>
                
                
                </tr>
                <tr>
                <td></td><td class="style12" >Address1</td>
                <td style="text-align: left" >
                <asp:TextBox ID="baddress1" runat="server" Width="200px"  CssClass="txtForm" 
                 TabIndex="18"></asp:TextBox>                                            
                <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" Width="75px" ControlToValidate="baddress1" CssClass="letraRojaValidacion" 
                 ErrorMessage="Required Field"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                <td ></td><td class="style12" >Address2</td><td style="text-align: left"><asp:TextBox ID="baddress2" runat="server" 
                                    Width="200px" CssClass="txtForm" 
                                    TabIndex="19"></asp:TextBox>    </td>
                </tr> 
                
                <tr> 
                <td></td>
                <td class="style12">City</td>                
                <td align="left"><asp:TextBox ID="bcity" runat="server" Width="200px" CssClass="txtForm" 
                 TabIndex="20"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" 
                  ControlToValidate="bcity" CssClass="letraRojaValidacion"   ErrorMessage="Required Field"></asp:RequiredFieldValidator>    </td>
                </tr>   
                <tr>
                    <td></td>   
                    <td class="style12">State</td>
                    <td align="left" ><asp:DropDownList ID="cbBState" runat="server" CssClass="txtForm"  Width="200px" TabIndex="21" BackColor="White">
                        <asp:ListItem>Please Select</asp:ListItem>
                        <asp:ListItem>Alabama</asp:ListItem>
                        <asp:ListItem>Alaska</asp:ListItem>
                        <asp:ListItem>Arizona</asp:ListItem>
                        <asp:ListItem>Arkansas</asp:ListItem>
                        <asp:ListItem>California</asp:ListItem>
                        <asp:ListItem>Colorado</asp:ListItem>
                        <asp:ListItem>Connecticut</asp:ListItem>
                        <asp:ListItem>Delaware</asp:ListItem>
                        <asp:ListItem>Florida</asp:ListItem>
                        <asp:ListItem>Georgia</asp:ListItem>
                        <asp:ListItem>Hawai</asp:ListItem>
                        <asp:ListItem>Idaho</asp:ListItem>
                        <asp:ListItem>Illinois</asp:ListItem>
                        <asp:ListItem>Indiana</asp:ListItem>
                        <asp:ListItem>Iowa</asp:ListItem>
                        <asp:ListItem>Kansas</asp:ListItem>
                        <asp:ListItem>Kentucky</asp:ListItem>
                        <asp:ListItem>Louisiana</asp:ListItem>
                        <asp:ListItem>Maine</asp:ListItem>
                        <asp:ListItem>Maryland</asp:ListItem>
                        <asp:ListItem>Massachusetts</asp:ListItem>
                        <asp:ListItem>Minnesota</asp:ListItem>
                        <asp:ListItem>Mississipi</asp:ListItem>
                        <asp:ListItem>Missouri</asp:ListItem>
                        <asp:ListItem>Montana</asp:ListItem>
                        <asp:ListItem>Michigan</asp:ListItem>
                        <asp:ListItem>Nebraska</asp:ListItem>
                        <asp:ListItem>Nevada</asp:ListItem>
                        <asp:ListItem>New Jersey</asp:ListItem>
                        <asp:ListItem>New York</asp:ListItem>
                        <asp:ListItem>New Hampshire</asp:ListItem>
                        <asp:ListItem>New Mexico</asp:ListItem>
                        <asp:ListItem>North Carolina</asp:ListItem>
                        <asp:ListItem>North Dakota</asp:ListItem>
                        <asp:ListItem>Ohio</asp:ListItem>
                        <asp:ListItem>Oklahoma</asp:ListItem>
                        <asp:ListItem>Oregon</asp:ListItem>
                        <asp:ListItem>Pennsylvania</asp:ListItem>
                        <asp:ListItem>Rhode Island</asp:ListItem>
                        <asp:ListItem>South Carolina</asp:ListItem>
                        <asp:ListItem>South Dakota</asp:ListItem>
                        <asp:ListItem>Tennessee</asp:ListItem>
                        <asp:ListItem>Texas</asp:ListItem>
                        <asp:ListItem>Utah</asp:ListItem>
                        <asp:ListItem>Vermont</asp:ListItem>
                        <asp:ListItem>Virginia</asp:ListItem>
                        <asp:ListItem>West Virginia</asp:ListItem>
                        <asp:ListItem>Washington</asp:ListItem>
                        <asp:ListItem>Wisconsin</asp:ListItem>
                        <asp:ListItem>Wyoming</asp:ListItem>
                    </asp:DropDownList>
                    <asp:CompareValidator ID="CompareValidator2" runat="server" 
                        ControlToValidate="cbBState" CssClass="letraRojaValidacion" 
                        ErrorMessage="Required field" Operator="NotEqual" 
                        ValueToCompare="Please Select"></asp:CompareValidator>
                    <br />
                    </td>
                </tr>                 
                <tr>
                <td ></td><td class="style12" >Zip</td><td align="left">
                <font color="#3270b2" class="style3">     
                <asp:TextBox ID="bzip" runat="server" Width="200px" CssClass="txtForm" 
                TabIndex="22" MaxLength="5"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="bzip" CssClass="letraRojaValidacion" 
                ErrorMessage="Required Field"></asp:RequiredFieldValidator>     
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" 
                        runat="server"  ControlToValidate="bzip" ErrorMessage="Invalid Zip" 
                ValidationExpression="\d{5}(-\d{4})?" CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>    </td>                
                </tr>
                <tr>
                <td></td><td class="letrabold" bgcolor="#FA7E02" colspan="2" align="left">Credit Card Info</td>             
                </tr>                
                <tr>
                <td ></td>           
                <td class="style13">Name on Card</td> 
                <td align="left">
                <asp:TextBox ID="namecreditcard" runat="server" Width="200px"   
                 style="text-align: left" CssClass="txtForm" TabIndex="23" Enabled="False" 
                 BorderColor="#CCCCCC" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" 
                 ControlToValidate="namecreditcard" CssClass="letraRojaValidacion" 
                 ErrorMessage="Required Field" Enabled="False"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                 ControlToValidate="namecreditcard" CssClass="letraRojaValidacion" 
                 ErrorMessage="Invalid Name" ValidationExpression="^[a-zA-Z''-'\s]{1,40}$" 
                 Enabled="False"></asp:RegularExpressionValidator>     </td>                 
                </tr>
                <tr>
                <td></td>
                <td class="style13">Credit Card</td>             
                <td  align="left">
                    <asp:TextBox ID="creditcard" runat="server" Width="200px" CssClass="txtForm" TabIndex="24" Enabled="False" BorderColor="#CCCCCC" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="creditcard" CssClass="letraRojaValidacion" ErrorMessage="Required Field " Enabled="False"></asp:RequiredFieldValidator>    </td>
                </tr>
                <tr>
                <td></td>
                <td class="style13">Exp Date</td>            
                <td align="left">
                <asp:TextBox ID="ExpDate" runat="server" Width="200px" CssClass="txtForm" 
                 Enabled="False" BorderColor="#CCCCCC"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" 
                  ControlToValidate="ExpDate" CssClass="letraRojaValidacion" 
                 ErrorMessage="Required Field" Enabled="False"></asp:RequiredFieldValidator>    </td>        
                </tr>
                <tr>
                    <td ></td>
                    <td class="style13">cvv
                        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />               
                        <a href="img/cvv2.png" class="style14" rel="lightbox" title="bpophotos.com">                             
                        <asp:Image ID="infoccv" runat="server" Height="16px" ImageUrl="~/img/info.gif" Width="16px" />
                        </a>                                            
                    </td>
 
                <td  align="left">
                <asp:TextBox ID="cvv" runat="server" Width="200px" CssClass="txtForm"
                 MaxLength="3" SkinID="___"
         
                 ToolTip="You must enter only numbers here. Check the last 3 number back on your credit card"
                 Enabled="False" BorderColor="#CCCCCC"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server"
                  ControlToValidate="cvv" CssClass="letraRojaValidacion"
                   ErrorMessage="Required Field" Enabled="False"></asp:RequiredFieldValidator>                                              
                  
                   </td>    
              </tr>
                <tr>
                <td></td>
                <td class="letrabold" bgcolor="#FA7E02" colspan="2" align="left">Image</td>
                </tr>
                <tr>
                <td ></td>
                <td  align="left" valign="top" class="style12" >Choose a default image or upload any personal picture or logo</A> </td>  
                <td rowspan="1" align="left" valign="top" >           
                <table align="left">
                <tr>
                <td class="style7" ><asp:CheckBox ID="CheckBox1" runat="server" Height="20px" 
                  Width="20px" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged"  
                 TabIndex="25" /></td>
                <td width="50px" ><asp:Image ID="Image2" runat="server" ImageUrl="~/data/logos/default.jpg" Width="50px" ImageAlign="Middle" />   </td>
                <td class="style5">
                <asp:CheckBox ID="CheckBox2" runat="server" Height="20px" 
                 Width="24px" AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" 
                 TabIndex="26" />         </td>
                <td width="50"><asp:Image ID="Image3" runat="server" ImageUrl="~/data/logos/default1.png" Width="50px"/> </td>
                <td class="style7"><asp:CheckBox ID="CheckBox3" runat="server" Height="20px" Width="20px" 
                           AutoPostBack="True" oncheckedchanged="CheckBox3_CheckedChanged" 
                  TabIndex="27" />          </td>
                <td valign="top" width="50" ><asp:Image ID="Image4" runat="server" ImageUrl="~/data/logos/logocasa.jpg" Width="50px" />          </td>               
                </tr>        
                
                </table>                 
                </td>            
                </tr>
                
                
                <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
                
                
                              
                <tr>
                <td></td>
                <td class="style3" colspan="2">          
                <A NAME="TAGFILE">
                <asp:FileUpload ID="File1" runat="server"  />
                </A>          
                <span  id="Span3" runat="Server"  />
                <br />
                <asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="Only .gif, .png , .jpg files allowed!" 
                 ValidationExpression="(.)+(.png|.PNG|.jpg|.JPG|.gif|.GIF |.jpeg|.JPEG)$" 
                 ControlToValidate="File1" CssClass="letraRojaValidacion"></asp:RegularExpressionValidator>                </td>
                </tr> 
                
                <tr><td colspan="3" style="text-align: center"  >
                                <asp:Label ID="lb_error" runat="server" 
                        CssClass="letraRojaValidacion" Text="Label" Visible="False" Font-Size="Medium"></asp:Label>
                            </td></tr>
                <tr align="center">
                <td colspan="6" style="text-align: center" align="center">
                    <table align="center">
                        <tr align="center">
                            <td align="center">
                                <asp:LinkButton ID="lnk_saveprofile" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_saveprofile_Click"><span>Add Profile</span></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                    
                </td>
                </tr>
                <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
                <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>
                <tr><td colspan="3" style="text-align: center"  >&nbsp;</td></tr>                
                
         </table>
         </td>
        </tr>        
    </table> 
    
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

    <script language="JavaScript" type="text/javascript">
        function Abrir_ventana(pagina) {
            window.showModalDialog(pagina, "", "status:no; location:no; dialogWidth:350px; dialogHeight:350px; dialogTop:100px; dialogLeft:200px; scroll:no;");

        }

        function triggerFileUpload() {
            Alert("entro", "File1");
            document.getElementById("File1").click();
        }
</script>    

<style type="text/css">
    .style3
    { text-align: left;
      color:#3270b2;  
      width:auto;         
    }
    .style4
    {
        /*font-family:MS Reference Sans Serif;*/
	  font-family : Arial Narrow;
      font-weight: bold;
      font-size: 14px;
      color: #FFFFFF;
      font-style: normal;
    }
    .style5
    {
        width: 20px;
    }
   
    .style7
    {
        width: 20px;
    }
    
    .style10
    {
        text-align: left;
        color: #3270b2;
        width: 92px;
    }
    .style11
    {   text-align: left;
        color: #3270b2;
        width: 92px;
    }
    .style12
    {
        text-align: left;
        color: #3270b2;
        width: 92px;
    }
    .style13
    {
        text-align: left;
        color: #999999;
        width: 92px;
    }
    </style>
       
    <script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
    
</asp:Content>
